package BeenChina.PM.Service;

import java.util.List;

import BeenChina.PM.Model.ModelRole;
import BeenChina.PM.Model.ModelUser;
import BeenChina.PM.Model.ModelUserRole;

public interface SystemInfoService {


	public List<ModelUser> selectUsers(); 
	 public Integer insertUser(ModelUser model);
	 public Integer deleteUser(String userID);
	 public Integer updateUser(ModelUser model);
	 public Integer existUser(String userid);
	 public boolean verifyUser(String userID,String pass);
	 public Integer updateSessionId(ModelUser model);
	 public String  getSessionId(String userID);
	 public ModelUser selectUser(String userID);
	 public Integer changePassWord(String userID,String pass);

	 public List<ModelRole> selectRoles();
     public Integer insertRole(ModelRole model);
	 public Integer deleteRole(String roleID);
	 public Integer updateRole(ModelRole model);
	 public Integer existRole(String roleID);

	 
	 public List<ModelUserRole> selectUserRoles(String UserID);
	 public Integer deleteUserRoles(String UserID);
	 public Integer insertUserRole(ModelUserRole model);
}
